package com.shaoxi.risk.ext.tmg;

import com.shaoxi.ext.framework.anotation.Ext;
import com.shaoxi.risk.ext.sdk.PromotionFilterExt;
import com.shaoxi.risk.ext.sdk.PromotionPram;
import org.springframework.stereotype.Component;

@Component
@Ext(suportBizCode = "tmg")
public class TmgPromotionFilterExt implements PromotionFilterExt {
    @Override
    public boolean isFilter(PromotionPram promotionPram) {
        //天猫国际优惠低于10元的不计算
        return promotionPram.getAmount()<1000;
    }
}
